#ifndef DLM_INFO_LISTENER_H
#define DLM_INFO_LISTENER_H

/*
 * Simple class listening for informational messages from client processes
 * and passing them to the Logger module
 */
class DlmInfoListener
{
	public:
		/*
		 * Constructor
		 * info_fd		- read end of info pipe
		 */	
		DlmInfoListener(int info_fd);
		
		/*
		 * starts listening for incoming messages
		 */		
		void listen();
		
	private:
		int infoFd_;
};

#endif
